<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-nickname" class="form-control" name="row[nickname]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-password" class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-password" data-rule="" class="form-control" name="row[password]" type="text" value="" placeholder="" autocomplete="new-password" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-email" class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-email" data-rule="" class="form-control" name="row[email]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-mobile" data-rule="" class="form-control" name="row[mobile]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-qq" class="control-label col-xs-12 col-sm-2">{:__('QQ')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-qq" data-rule="" class="form-control" name="row[qq]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">账户余额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-money" data-rule="" class="form-control" name="row[money]" type="text">
        </div>
    </div>
    <hr>
    <div class="form-group">
        <label for="c-withdraw_name" class="control-label col-xs-12 col-sm-2">收款名字:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-withdraw_name" data-rule="" class="form-control" name="row[withdraw_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-withdraw_type" class="control-label col-xs-12 col-sm-2">收款方式:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="c-withdraw_type" class="form-control" name="row[withdraw_type]">
                <option value="QQ钱包">QQ钱包</option>
                <option value="微信">微信</option>
                <option value="支付宝">支付宝</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="c-withdraw_account" class="control-label col-xs-12 col-sm-2">收款账号:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-withdraw_account" data-rule="" class="form-control" name="row[withdraw_account]" type="text">
        </div>
    </div>
    <hr>
    <div class="form-group">
        <label for="c-qqpay_rate" class="control-label col-xs-12 col-sm-2">QQ费率:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-qqpay_rate" data-rule="" class="form-control" name="row[qqpay_rate]" type="text" placeholder="不设置为默认费率">
        </div>
    </div>
    <div class="form-group">
        <label for="c-alipay_rate" class="control-label col-xs-12 col-sm-2">支付宝费率:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-alipay_rate" data-rule="" class="form-control" name="row[alipay_rate]" type="text" placeholder="不设置为默认费率">
        </div>
    </div>
    <div class="form-group">
        <label for="c-wxpay_rate" class="control-label col-xs-12 col-sm-2">微信费率:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-wxpay_rate" data-rule="" class="form-control" name="row[wxpay_rate]" type="text" placeholder="不设置为默认费率">
        </div>
    </div>
    <hr>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('关闭')])}
        </div>
    </div>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('提现')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[withdraw]', ['1'=>__('开启'), '0'=>__('关闭')])}
        </div>
    </div>
    <hr>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('QQ钱包')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[qqpay]', ['1'=>__('开启'), '0'=>__('关闭')], 1)}
        </div>
    </div>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('支付宝')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[alipay]', ['1'=>__('开启'), '0'=>__('关闭')], 1)}
        </div>
    </div>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('微信')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[wxpay]', ['1'=>__('开启'), '0'=>__('关闭')], 1)}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
